package com.hzw.controller;

import com.hzw.service.UserService;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import javax.annotation.Resource;

/**
 * Created by Administrator on 2019/3/8.
 */
@Controller
@RequestMapping(value = "/transationTest")
public class TransationTestController {
    @Resource
    private UserService userService;

    @RequestMapping(value = "/test")
    public void addUser(){
        userService.addUser();
    }
}
